package _992ZhuangTai.impl;

import _992ZhuangTai.Context;
import _992ZhuangTai.State;

/**
 * @StartState: 状态接口实现类 开始状态
 * @author: ZBoHang
 * @time: 2021/9/17 16:07
 */
public class StartState implements State {
    @Override
    public void doAction(Context context) {
        System.out.println("开始状态");
        context.setState(this);
    }
    @Override
    public String toString() {
        return "Start";
    }
}
